FROM cr.registry.res.n01.cloud.comac.intra/eng-dev/base-docker-repo:nginx-1.23.1

# copy vue artifacts to docker image's nginx root
COPY dist /usr/share/nginx/html/dist
# copy nginx configuration
COPY nginx /etc/nginx
COPY nginx/conf.d /etc/nginx/conf.d
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]